package cn.yunyichina.provider.pay.alipay.constant;

/**
 * Created by Lullaby on 2016/11/1.
 */
public enum ResponseEnum implements cn.yunyichina.provider.framework.common.ResponseEnum {

    ALIPAY_OAUTH_TOKEN_EXCEPTION("11001", "支付宝用户信息授权异常"),
    ALIPAY_OAUTH_TOKEN_FAILURE("11002", "支付宝用户信息授权失败"),
    ALIPAY_USER_INFO_EXCEPTION("11003", "支付宝会员授权信息查询接口异常"),
    ALIPAY_USER_INFO_FAILURE("11004", "支付宝会员授权信息查询接口失败"),
    ALIPAY_SIGN_FAILURE("11005", "支付宝签名失败"),

    ALIPAY_PAY_PRECREATE_EXCEPTION("11011", "支付宝扫码付预下单异常"),
    ALIPAY_PAY_PRECREATE_FAILURE("11012", "支付宝扫码付预下单失败"),
    ALIPAY_PAY_WAP_EXCEPTION("11013", "支付宝手机网站支付异常"),
    ALIPAY_PAY_WAP_FAILURE("11014", "支付宝手机网站支付失败"),
    ALIPAY_PAY_FACE_EXCEPTION("11015", "支付宝当面付支付异常"),
    ALIPAY_PAY_FACE_FAILURE("11016", "支付宝当面付支付失败"),

    ALIPAY_REFUND_EXCEPTION("11021", "支付宝退费异常"),
    ALIPAY_REFUND_FAILURE("11022", "支付宝退费失败"),
    ALIPAY_QUERY_EXCEPTION("11023", "支付宝查询接口异常"),
    ALIPAY_QUERY_FAILURE("11024", "支付宝查询接口失败"),
    ALIPAY_CANCEL_EXCEPTION("11025", "支付宝撤销接口异常"),
    ALIPAY_CANCEL_FAILURE("11026", "支付宝撤销接口失败"),
    ALIPAY_DOWNLOAD_BILL_FAILURE("11027", "支付宝查询对账单下载地址失败"),
    ALIPAY_DOWNLOAD_BILL_EXCEPTION("11028", "支付宝查询对账单下载地址异常"),

    ALIPAY_MEDICARE_EXCEPTION("11031", "支付宝医保查询异常"),
    ALIPAY_MEDICARE_CARD_QUERY_FAILURE("11032", "支付宝医保查询失败"),
    ALIPAY_MEDICARE_CARD_NOT_EXIST("11033", "支付宝医保绑卡数据不存在"),

    ALIPAY_CARD_MESSAGE_FAIL("11041", "支付宝Card消息推送失败"),
    ALIPAY_CARD_MESSAGE_EXCEPTION("11042", "支付宝Card消息推送异常"),

    ALIPAY_MEDINFO_UPLOAD_FAIL("11043", "支付宝医疗行业信息报备接口异常"),
    ALIPAY_MEDINFO_UPLOAD_EXCEPTION("11044", "支付宝医疗行业信息报备接口请求失败"),

    ALIPAY_PAY_PUBLIC_QRCODE_EXCEPTION("11051", "支付宝服务窗获取二维码异常"),
    ALIPAY_PAY_PUBLIC_QRCODE_FAIL("11052", "支付宝服务窗获取二维码失败"),
    ;

    private String code;

    private String message;

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }

}
